#include <stdio.h>
#include <stdlib.h>
typedef struct student{
    char name[10],id[10];
    int gender;
    int age;
    double scored;
} ST;
void output(ST *d,FILE *fout){
    if(d==NULL) {printf("null\n");return;}
    fprintf(fout,"%s,%s,%d,%d,%4.2f\n",d->name,d->id,d->gender,d->age,d->scored);
}



void fun(FILE *fin,FILE *fout)
{
    for(ST s;fscanf(fin,"%s%s%d%d%lf",s.name,s.id,&s.gender,&s.age,&s.scored)!=EOF;output(&s,fout)); 
}